package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (LsUser)实体类
 *
 * @author 杨丽辉
 * @since 2021-10-18 09:52:53
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsUser implements Serializable {
    private static final long serialVersionUID = 659708372555834068L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 会员码
    * isnull 0
    */            private String sn;
    /**
    * 是否为超级管理：0-否；1-是；
    * isnull 0
    */            private Integer root;
    /**
    * 用户昵称
    * isnull 0
    */            private String nickname;
    /**
    * 用户头像
    * isnull 0
    */            private String avatar;
    /**
    * 手机号码
    * isnull 0
    */            private String mobile;
    /**
    * 等级
    * isnull 0
    */            private Object level;
    /**
    * 所属分组id
    * isnull 0
    */            private Integer groupId;
    /**
    * 性别:0-未知；1-男；2-女
    * isnull 0
    */            private Integer sex;
    /**
    * 生日
    * isnull 0
    */            private Integer birthday;
    /**
    * 用户余额
    * isnull 0
    */            private BigDecimal userMoney;
    /**
    * 用户积分
    * isnull 0
    */            private Integer userIntegral;
    /**
    * 消费累计额度
    * isnull 0
    */            private BigDecimal totalOrderAmount;
    /**
    * 累计充值金额
    * isnull 0
    */            private BigDecimal totalRechargeAmount;
    /**
    * 账号
    * isnull 0
    */            private String account;
    /**
    * 密码
    * isnull 0
    */            private String password;
    /**
    * 支付密码
    * isnull 0
    */            private String payPassword;
    /**
    * 密码盐
    * isnull 0
    */            private String salt;
    /**
    * 第一个上级
    * isnull 0
    */            private Integer firstLeader;
    /**
    * 第二个上级
    * isnull 0
    */            private Integer secondLeader;
    /**
    * 第三个上级
    * isnull 0
    */            private Integer thirdLeader;
    /**
    * 所有的上级关系链
    * isnull 0
    */            private String ancestorRelation;
    /**
    * 是否分销会员：1-是；0-否；
    * isnull 0
    */            private Integer isDistribution;
    /**
    * 后台添加分销会员备注信息
    * isnull 0
    */            private String distributionAddRemarks;
    /**
    * 冻结分销资格: 1-冻结; 0-正常
    * isnull 0
    */            private Integer freezeDistribution;
    /**
    * 分销h5二维码

    * isnull 0
    */            private String distributionH5QrCode;
    /**
    * 分销小程序二维码

    * isnull 0
    */            private String distributionMnpQrCode;
    /**
    * 分销app二维码

    * isnull 0
    */            private String distributionAppQrCode;
    /**
    * 分销码
    * isnull 0
    */            private String distributionCode;
    /**
    * 创建时间
    * isnull 0
    */            private Integer createTime;
    /**
    * 修改时间
    * isnull 0
    */            private Integer updateTime;
    /**
    * 最后登录时间
    * isnull 0
    */            private Integer loginTime;
    /**
    * 最后登录ip
    * isnull 0
    */            private String loginIp;
    /**
    * 是否禁用：0-否；1-是；
    * isnull 0
    */            private Integer disable;
    /**
    * 0为非删除状态，非0位删除时间
    * isnull 0
    */            private Integer del;
    /**
    * 用户成长值
    * isnull 0
    */            private Integer userGrowth;
    /**
    * 佣金收益
    * isnull 0
    */            private BigDecimal earnings;
    /**
    * 注册来源
    * isnull 0
    */            private Integer client;
    /**
    * 会员标签
    * isnull 0
    */            private String tagIds;
    /**
    * 备注
    * isnull 0
    */            private String remark;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }
        
    public Integer getRoot() {
        return root;
    }

    public void setRoot(Integer root) {
        this.root = root;
    }
        
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
        
    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
        
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
        
    public Object getLevel() {
        return level;
    }

    public void setLevel(Object level) {
        this.level = level;
    }
        
    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }
        
    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
        
    public Integer getBirthday() {
        return birthday;
    }

    public void setBirthday(Integer birthday) {
        this.birthday = birthday;
    }
        
    public BigDecimal getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(BigDecimal userMoney) {
        this.userMoney = userMoney;
    }
        
    public Integer getUserIntegral() {
        return userIntegral;
    }

    public void setUserIntegral(Integer userIntegral) {
        this.userIntegral = userIntegral;
    }
        
    public BigDecimal getTotalOrderAmount() {
        return totalOrderAmount;
    }

    public void setTotalOrderAmount(BigDecimal totalOrderAmount) {
        this.totalOrderAmount = totalOrderAmount;
    }
        
    public BigDecimal getTotalRechargeAmount() {
        return totalRechargeAmount;
    }

    public void setTotalRechargeAmount(BigDecimal totalRechargeAmount) {
        this.totalRechargeAmount = totalRechargeAmount;
    }
        
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
        
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
        
    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }
        
    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }
        
    public Integer getFirstLeader() {
        return firstLeader;
    }

    public void setFirstLeader(Integer firstLeader) {
        this.firstLeader = firstLeader;
    }
        
    public Integer getSecondLeader() {
        return secondLeader;
    }

    public void setSecondLeader(Integer secondLeader) {
        this.secondLeader = secondLeader;
    }
        
    public Integer getThirdLeader() {
        return thirdLeader;
    }

    public void setThirdLeader(Integer thirdLeader) {
        this.thirdLeader = thirdLeader;
    }
        
    public String getAncestorRelation() {
        return ancestorRelation;
    }

    public void setAncestorRelation(String ancestorRelation) {
        this.ancestorRelation = ancestorRelation;
    }
        
    public Integer getIsDistribution() {
        return isDistribution;
    }

    public void setIsDistribution(Integer isDistribution) {
        this.isDistribution = isDistribution;
    }
        
    public String getDistributionAddRemarks() {
        return distributionAddRemarks;
    }

    public void setDistributionAddRemarks(String distributionAddRemarks) {
        this.distributionAddRemarks = distributionAddRemarks;
    }
        
    public Integer getFreezeDistribution() {
        return freezeDistribution;
    }

    public void setFreezeDistribution(Integer freezeDistribution) {
        this.freezeDistribution = freezeDistribution;
    }
        
    public String getDistributionH5QrCode() {
        return distributionH5QrCode;
    }

    public void setDistributionH5QrCode(String distributionH5QrCode) {
        this.distributionH5QrCode = distributionH5QrCode;
    }
        
    public String getDistributionMnpQrCode() {
        return distributionMnpQrCode;
    }

    public void setDistributionMnpQrCode(String distributionMnpQrCode) {
        this.distributionMnpQrCode = distributionMnpQrCode;
    }
        
    public String getDistributionAppQrCode() {
        return distributionAppQrCode;
    }

    public void setDistributionAppQrCode(String distributionAppQrCode) {
        this.distributionAppQrCode = distributionAppQrCode;
    }
        
    public String getDistributionCode() {
        return distributionCode;
    }

    public void setDistributionCode(String distributionCode) {
        this.distributionCode = distributionCode;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Integer getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Integer loginTime) {
        this.loginTime = loginTime;
    }
        
    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }
        
    public Integer getDisable() {
        return disable;
    }

    public void setDisable(Integer disable) {
        this.disable = disable;
    }
        
    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }
        
    public Integer getUserGrowth() {
        return userGrowth;
    }

    public void setUserGrowth(Integer userGrowth) {
        this.userGrowth = userGrowth;
    }
        
    public BigDecimal getEarnings() {
        return earnings;
    }

    public void setEarnings(BigDecimal earnings) {
        this.earnings = earnings;
    }
        
    public Integer getClient() {
        return client;
    }

    public void setClient(Integer client) {
        this.client = client;
    }
        
    public String getTagIds() {
        return tagIds;
    }

    public void setTagIds(String tagIds) {
        this.tagIds = tagIds;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"sn\":" + sn +
                            " ,\"root\":" + root +
                            " ,\"nickname\":" + nickname +
                            " ,\"avatar\":" + avatar +
                            " ,\"mobile\":" + mobile +
                            " ,\"level\":" + level +
                            " ,\"groupId\":" + groupId +
                            " ,\"sex\":" + sex +
                            " ,\"birthday\":" + birthday +
                            " ,\"userMoney\":" + userMoney +
                            " ,\"userIntegral\":" + userIntegral +
                            " ,\"totalOrderAmount\":" + totalOrderAmount +
                            " ,\"totalRechargeAmount\":" + totalRechargeAmount +
                            " ,\"account\":" + account +
                            " ,\"password\":" + password +
                            " ,\"payPassword\":" + payPassword +
                            " ,\"salt\":" + salt +
                            " ,\"firstLeader\":" + firstLeader +
                            " ,\"secondLeader\":" + secondLeader +
                            " ,\"thirdLeader\":" + thirdLeader +
                            " ,\"ancestorRelation\":" + ancestorRelation +
                            " ,\"isDistribution\":" + isDistribution +
                            " ,\"distributionAddRemarks\":" + distributionAddRemarks +
                            " ,\"freezeDistribution\":" + freezeDistribution +
                            " ,\"distributionH5QrCode\":" + distributionH5QrCode +
                            " ,\"distributionMnpQrCode\":" + distributionMnpQrCode +
                            " ,\"distributionAppQrCode\":" + distributionAppQrCode +
                            " ,\"distributionCode\":" + distributionCode +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"loginTime\":" + loginTime +
                            " ,\"loginIp\":" + loginIp +
                            " ,\"disable\":" + disable +
                            " ,\"del\":" + del +
                            " ,\"userGrowth\":" + userGrowth +
                            " ,\"earnings\":" + earnings +
                            " ,\"client\":" + client +
                            " ,\"tagIds\":" + tagIds +
                            " ,\"remark\":" + remark +
                  '}';
    }


}
